home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 23
/
Amiga Format AFCD23 (Feb 1998, Issue 107).iso
/
-in_the_mag-
/
cologne
/
mpegagui
/
mp3tool.doc
< prev
next >
Wrap
Text File
|
1997-12-06
|
5KB
|
223 lines
Introduction
------------
MP3Tool is a tool to get and set information from/to an MPEG Audio file. MPEG Audio
Layer 3 files may contain a TAG at the end of the file with additional information
on the song. Without that TAG only the 'File', 'Layer', 'BPS' and 'Length' options
can be used. Bear in mind that the existance of a TAG in an MP3 file doesn't always
mean that the information in it is present or correct. I for instance have found
several MP3 files on the internet which had only the 'Title', 'Artist', 'Album' and
'Genre' fields filled in. Making a query for the 'Year' on such a file fails,
ofcourse.
I recommend using TAGEdit supplied with this tool. It is a Gui4CLI interface for
MP3Tool, which, should you want to, can be adapted to your own needs.
Gui4CLI can be downloaded from AmiNet from the directory dev/gui.
I can be reached at 1011071@ibk.fnt.hvu.nl if you have any comments, bugreports
or suggestions.
Copyright 1997 M. van Dillen.
Usage
-----
FILE/A,TITLE/S,ARTIST/S,ALBUM/S,YEAR/S,COMMENT/S,GENRE/S,LAYER/S,BPS/S,LENGTH/S,
DURATION/S,NA/K,LFORMAT/K,T/K,AR/K,AL/K,Y/K,C/K,G/K,WRITE/S
General:
FILE The MPEG filename (required)
Query options:
TITLE The title of the song (switch)
ARTIST The artist/band of the song (switch)
ALBUM The album the song was released on (switch)
YEAR The year the song was released (switch)
COMMENT The extra comment on the song (switch)
GENRE The genre of the song (switch)
LAYER The version of the layer of the MPEG file (switch)
BPS Number of bits per second with which the song was encoded (switch)
LENGTH Playtime of song in seconds (switch)
DURATION Playtime in Minutes:seconds format (switch)
NA The string printed if requested item is Not Available (keyword)
LFORMAT Alternative output string (see below) (keyword)
Input options:
T New title of the song (keyword)
AR New artist/band of the song (keyword)
AL New album the song was released on (keyword)
Y New year the song was released (keyword)
C New comment on the song (keyword)
G New genre of the song (see below) (keyword)
WRITE Write the new info to the MP3 file (switch)
The limit of the input strings is 30 characters, of the year string 4.
If you enter a longer string it will be truncated.
LFORMAT format
--------------
LFormat can be used to customize the output of MP3Tool. The available options are:
%f Filename
%l Layer
%b BPS
%e Length
%d Duration
%t Title
%a Artist
%u Album
%y Year
%g Genre
%c Comment
\n Return
\- Underline previous line
Genre format
------------
The 'G' option can be either a number or a string. If you enter a string it must be one
of the following:
Blues
Classic Rock
Country
Dance
Disco
Funk
Grunge
Hip-Hop
Jazz
Metal
New Age
Oldies
Other
Pop
R&B
Rap
Reggae
Rock
Techno
Industrial
Alternative
Ska
Death Metal
Pranks
Soundtrack
Euro-Techno
Ambient
Trip-Hop
Vocal
Jazz+Funk
Fusion
Trance
Classical
Instrumental
Acid
House
Game
Sound Clip
Gospel
Noise
AlternRock
Bass
Soul
Punk
Unknown
If you enter a number it must be one in the range from 0 (Blues) to 44 (Unknown).
Examples
--------
MP3Tool ?
Shows the AmigaDOS template
MP3Tool MP3:MP3.Glycerine title artist
Shows:
MP3:MP3.Glycerine, Title : Glycerine, Artist : Bush
MP3Tool MP3:MP3.Glycerine lformat "%t - %a, Layer %l, %b BPS"
Shows:
Glycerine - Bush, Layer 3, 131072 BPS
MP3Tool MP3:MP3.Glycerine lformat "%f\n\-\nTitle: %t\nDuration: %d (%e seconds)"
Shows:
MP3:MP3.Glycerine
-----------------
Title: Glycerine
Duration: 4:26 (266 seconds)
MP3Tool MP3:MP3.Forgiven t Forgive ar "Alanis Morissette" write
Writes a TAG at the end of the file MP3:MP3.Forgiven with the Title and Artist
information in it.
MP3Tool MP3:MP3.Forgiven write t Forgiven al "Jagged Little Pill"
Updates the TAG at the end of the file MP3:MP3.Forgiven with the correct Title
and the Album information.
MP3Tool MP3:MP3.SellingTheDrama g rock write
Updates the TAG at the end of the file MP3:MP3.SellingTheDrama with the Genre.
Credits
-------
I looked at MP3Info from Thorvald Natvig <xeno@mix.hive.no> for the TAG structure,
the genres list and the MP3 Header info.
Altough MP3Info seems like a good tool to me, I didn't have the right version of
ixemul.library to check it out.
Anyway, my MP3Tool is more Amiga style, especially the commandline arguments.
ID3 Tag Protocol (c) 1997 Eric Kemp <NamkraD> / Damaged Cybernetics
(erick@marble.net) http://www.marble.net/~erick/mpeg3.htm
Contact
-------
I can be reached at 1011071@ibk.fnt.hvu.nl if you have any comments, bugreports
or suggestions.
Copyright 1997 M. van Dillen.